package com.beverages.individual.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.beverages.individual.entity.Individual;
import com.beverages.individual.entity.dto.IndividualDTO;
import com.beverages.individual.entity.dto.IndividualPasswordDTO;

import java.math.BigDecimal;

public interface IIndividualService extends IService<Individual> {
    IndividualDTO convertIndividualEntityToIndividualDTO(Individual individual);
    void refundToCustomer(Integer toCustomerId, BigDecimal amount);

    IndividualDTO login(IndividualDTO individualDTO);
    void updatePassword(IndividualPasswordDTO individualPasswordDTO);
}
